package com.usian.service;

import com.usian.pojo.Sj;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("day10-mapenghui-que")
public interface FeignSjService {
    @GetMapping("sj/sjSyList")
    public List<Sj> sjSyList();

    @GetMapping("que/getTsNum")
    public Integer getTsNum(@RequestParam(value = "sjId") Integer sjId);

    @GetMapping("que/getTsNum2")
    public Integer getTsNum2(@RequestParam(value = "sjId") Integer sjId);


}
